package com.liz.springCloudAlibaba.provider.model;

import java.io.Serializable;

/**
 * Created by lizhou on 2015/11/17.
 * 记账的类别
 */
public class MnCate implements Serializable {
    private static final long serialVersionUID = -5865830927524986921L;
    private Long cateId;
    private String cateName;
    private Long parentId;
    private Integer sortOrder;
//    private String fromSystem;
//    private int ifShow;
//    private Long userId;
//    private Date createTime;
//    private Long createUserId;
//    private Date updateTime;
//    private Long updateUserId;

    /* 统计该类别的个数 */
    private Integer counts;

    public Long getCateId() {
        return cateId;
    }

    public void setCateId(Long cateId) {
        this.cateId = cateId;
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getCounts() {
        return counts;
    }

    public void setCounts(Integer counts) {
        this.counts = counts;
    }

    @Override
    public String toString() {
        return "MnCate{" +
                "cateId=" + cateId +
                ", cateName='" + cateName + '\'' +
                ", parentId=" + parentId +
                ", sortOrder=" + sortOrder +
                ", counts=" + counts +
                '}';
    }
}

